﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using SplendidCRM.Bridge;

namespace SplendidCRM
{
    public class Site : ISite
    {
        #region Implementation of ISite

        public Guid CurrentUserId
        {
            get { return Security.USER_ID; }
        }

        public string ConnectionString
        {
            get { return Utils.AppSettings["SplendidSQLServer"]; }
        }

        public bool IsAdmin
        {
            get { return Security.IS_ADMIN; }
        }

        #endregion
    }
}